Vcenter Storage Policies Compliance VM FilterSpec

Vcenter Storage Policies Compliance VM FilterSpec
Vcenter Storage Policies Compliance VM FilterSpec

The Vcenter Storage Policies Compliance VM FilterSpec schema contains Status used to filter the results when listing virtual machines (see GET /vcenter/storage/policies/compliance/vm).

This schema was added in vSphere API 6.7.

JSON Example
{
    "status": [
        "string"
    ],
    "vms": [
        "string"
    ]
}
array of string
status
Required

Compliance Status that a virtual machine must have to match the filter. Atleast one status must be specified.

For more information see: Vcenter Storage Policies Compliance VM Status.

This property was added in vSphere API 6.7.

array of string
vms
Optional

Identifiers of virtual machines that can match the filter

This property was added in vSphere API 6.7.

If missing or null or empty, virtual machines with any identifier matches the filter

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: VirtualMachine. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: VirtualMachine.